export class CommonPageParam {
  static DEFAULT_CURRENT = 1
  static DEFAULT_SIZE = 20

  /**
   * 当前页
   */
  current = CommonPageParam.DEFAULT_CURRENT

  /**
   * 每页条数
   */
  size = CommonPageParam.DEFAULT_SIZE

  /**
   * 排序字段
   */
  sortField? = ''

  /**
   * 排序方式
   */
  sortType?: 'ASC' | 'DESC' = 'DESC'

  /**
   * 关键词
   */
  searchKey? = ''
}
